﻿using System;

namespace Skyhook.ProjectViewer.WebAspNet {
    public partial class MasterPage : System.Web.UI.MasterPage {
        public enum Tabs {
            Home,
            iManage
        }
        public static Tabs SelectedTab { get; set; }

        protected void Page_PreRender(object sender, EventArgs e) {
            LoadTabs();
        }

        private void LoadTabs() {
            //switch (SelectedTab) {
            //    case Tabs.Home:
            //        rtsTabs.FindTabByValue("Home").Selected = true;
            //        break;
            //    case Tabs.iManage:
            //        rtsTabs.FindTabByValue("iManage").Selected = true;
            //        break;
            //    default:
            //        rtsTabs.FindTabByValue("Home").Selected = true;
            //        break;
            //}
        }
    }
}